﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Soccer_Score_Forecast.Mongo
{
    class MongoConfig
    {
    }
    public class CommonAttribute : CommonDataLocation
    {
        public static string[] SimulinkMatchOver = new String[] { "SimulinkMatchOver", db, remote };
        public static string[] SimulinkMatchNow = new String[] { "SimulinkMatchNow", db, remote };
        public static string[] SimulinkRbf = new String[] { "SimulinkRbf", db, remote };
        public static string[] TcpRetransStatics = new String[] { "TcpRetransStatics", db, remote };
        public static string[] LacCellBvciStatics = new string[] { "LacCellBvciStatics", db, remote };
    }
    public class CommonDataLocation
    {
        protected static string db = "SimulinkMatch";
        //protected static string remote = "mongodb://localhost/?safe=true";
        //protected static string sqlconn = "Data Source=localhost;Initial Catalog=TcpDbContext;Integrated Security=True;";

        protected static string remote = "mongodb://localhost/?safe=true";


        protected static string sqlconn = "Data Source=192.168.4.249;Initial Catalog=TcpDbContexta;User ID=sa;Password=hantele123;MultipleActiveResultSets=True";

    }
}
